const Router = require('koa-router')

const router = new Router()
router.prefix('/v1/test')

router.get('/', ({ ...ctx }, next) => {
	throw new ctx.HttpException.ParamsError()
	ctx.body = 'success'
})

module.exports = router
